/*
5. Write a function that takes two unsigned short integer arguments and returns the result
 of dividing the first by the second. Do not do the division if the second number is zero, 
 but do return -1.
*/
#include <iostream.h>

float Divide (unsigned short int x, unsigned short int y) {
	if (!(y==0))
		return ((float) x / (float) y);
	else
		return -1;
};

int main(){
	unsigned short int x = 5, y = 8;
	cout << Divide(x, y);
	return 0;
};
